package kadledav.adventure.framework.controll.commands.abstr;

import java.io.PrintStream;
import java.util.Scanner;

import kadledav.adventure.framework.controll.Command;
import kadledav.adventure.framework.model.world.Player;

public abstract class CommandAbstract implements Command {

	protected PrintStream out;
	protected Scanner in;
	protected Player player;

	public CommandAbstract(PrintStream out, Scanner in, Player player) {
		super();
		this.out = out;
		this.in = in;
		this.player = player;
	}

	public void wrongCommandArgument() {
		out.println("spatny argument prikazu\n");
	}

	abstract public void execute(String[] userCommand);

}
